package cn.zwx.activiti.example.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description:
 * @projectName:activiti-example
 * @see:cn.zwx.activiti.example.model.req
 * @author:zhangwenxue
 * @createTime:2021/6/8 20:34
 * @version:1.0
 */
@Data
@ApiModel("根据用户名称查询历史任务信息请求参数")
public class InstancesByUserReq {

    @NotNull(message = "开始页数不能为空")
    @ApiModelProperty(value = "开始页数",required = true)
    private Integer startIndex;

    @NotNull(message = "结束页数不能为空")
    @ApiModelProperty(value = "结束页数",required = true)
    private Integer endIndex;

}
